#!/bin/bash -xe

echo "[Install skopeo]"
version=v1.17.0
arch=amd64
[ -f /usr/bin/skopeo ] && sudo mv /usr/bin/skopeo{,_src}
sudo -E wget https://github.com/lework/skopeo-binary/releases/download/${version}/skopeo-linux-${arch} -O /usr/bin/skopeo
sudo chmod +x /usr/bin/skopeo

skopeo --version
